package com.intellif.mozping.util;

/**
 * @author by mozping
 * @Classname Util
 * @Description TODO
 * @Date 2019/4/17 16:39
 */
public class Util {

    public static String getTestMsg() {
        return Constant.data;
    }

    public static String getTestMsg(int size) {
        return Constant.data;
    }


    public static String getRandomInStrArr(String[] list) {
        int index = getRandomNum(0, list.length);
        return list[index];
    }

    //获取随机数，包括min，不包括max
    public static int getRandomNum(int min, int max) {
        return min + (int) (Math.random() * (max - min));
    }


}
